package com.androidx.p013lv.base;

import android.util.SparseArray;
import android.util.SparseIntArray;
import android.view.View;
import androidx.databinding.DataBinderMapper;
import androidx.databinding.DataBindingComponent;
import androidx.databinding.ViewDataBinding;
import com.androidx.p013lv.base.interfaces.Key;
import com.google.android.exoplayer2.text.ttml.TtmlNode;
import com.lzy.okgo.cookie.SerializableCookie;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/* renamed from: com.androidx.lv.base.DataBinderMapperImpl */
public class DataBinderMapperImpl extends DataBinderMapper {
    private static final SparseIntArray INTERNAL_LAYOUT_ID_LOOKUP = new SparseIntArray(0);

    @Override // androidx.databinding.DataBinderMapper
    public ViewDataBinding getDataBinder(DataBindingComponent dataBindingComponent, View view, int i) {
        if (INTERNAL_LAYOUT_ID_LOOKUP.get(i) <= 0 || view.getTag() != null) {
            return null;
        }
        throw new RuntimeException("view must have a tag");
    }

    @Override // androidx.databinding.DataBinderMapper
    public ViewDataBinding getDataBinder(DataBindingComponent dataBindingComponent, View[] viewArr, int i) {
        if (viewArr == null || viewArr.length == 0 || INTERNAL_LAYOUT_ID_LOOKUP.get(i) <= 0 || viewArr[0].getTag() != null) {
            return null;
        }
        throw new RuntimeException("view must have a tag");
    }

    @Override // androidx.databinding.DataBinderMapper
    public int getLayoutId(String str) {
        Integer num;
        if (str == null || (num = InnerLayoutIdLookup.sKeys.get(str)) == null) {
            return 0;
        }
        return num.intValue();
    }

    @Override // androidx.databinding.DataBinderMapper
    public String convertBrIdToString(int i) {
        return InnerBrLookup.sKeys.get(i);
    }

    @Override // androidx.databinding.DataBinderMapper
    public List<DataBinderMapper> collectDependencies() {
        ArrayList arrayList = new ArrayList(1);
        arrayList.add(new androidx.databinding.library.baseAdapters.DataBinderMapperImpl());
        return arrayList;
    }

    /* renamed from: com.androidx.lv.base.DataBinderMapperImpl$InnerBrLookup */
    private static class InnerBrLookup {
        static final SparseArray<String> sKeys;

        private InnerBrLookup() {
        }

        static {
            SparseArray<String> sparseArray = new SparseArray<>(95);
            sKeys = sparseArray;
            sparseArray.put(0, "_all");
            sKeys.put(1, "actressName");
            sKeys.put(2, "annId");
            sKeys.put(3, "attentionHe");
            sKeys.put(4, "bala");
            sKeys.put(5, "bgImgs");
            sKeys.put(6, "birthday");
            sKeys.put(7, "bu");
            sKeys.put(8, "buy");
            sKeys.put(9, "buyType");
            sKeys.put(10, "canWatch");
            sKeys.put(11, "checkSum");
            sKeys.put(12, "cityCode");
            sKeys.put(13, "cityName");
            sKeys.put(14, "clTicket");
            sKeys.put(15, "content");
            sKeys.put(16, "contentId");
            sKeys.put(17, "contentList");
            sKeys.put(18, "contentName");
            sKeys.put(19, "coverImg");
            sKeys.put(20, "createdAt");
            sKeys.put(21, "creator");
            sKeys.put(22, "dynamicNum");
            sKeys.put(23, "editState");
            sKeys.put(24, "endTime");
            sKeys.put(25, "expiredVip");
            sKeys.put(26, "fakeLikes");
            sKeys.put(27, "fakeScoreNum");
            sKeys.put(28, "fakeShareNum");
            sKeys.put(29, "fakeWatchNum");
            sKeys.put(30, "favoritesNum");
            sKeys.put(31, "feedbackImgs");
            sKeys.put(32, "forbiddenWord");
            sKeys.put(33, "freeVip");
            sKeys.put(34, "freeWatches");
            sKeys.put(35, "gender");
            sKeys.put(36, "gold");
            sKeys.put(37, "headImg");
            sKeys.put(38, "height");
            sKeys.put(39, TtmlNode.ATTR_ID);
            sKeys.put(40, "imgDomain");
            sKeys.put(41, "inviteCode");
            sKeys.put(42, "inviteUserNum");
            sKeys.put(43, "isSDKAd");
            sKeys.put(44, "leaseDays");
            sKeys.put(45, "leaseExpAt");
            sKeys.put(46, "leasePrice");
            sKeys.put(47, "level");
            sKeys.put(48, "like");
            sKeys.put(49, "likeBrush");
            sKeys.put(50, "logo");
            sKeys.put(51, "meetCard");
            sKeys.put(52, "meetLock");
            sKeys.put(53, "meetPrice");
            sKeys.put(54, "mobile");
            sKeys.put(55, SerializableCookie.NAME);
            sKeys.put(56, "nickName");
            sKeys.put(57, "official");
            sKeys.put(58, "personSign");
            sKeys.put(59, "phone");
            sKeys.put(60, "playTime");
            sKeys.put(61, "previewUrl");
            sKeys.put(62, "price");
            sKeys.put(63, "provinceCode");
            sKeys.put(64, "provinceName");
            sKeys.put(65, "purVideosNum");
            sKeys.put(66, "qq");
            sKeys.put(67, "reason");
            sKeys.put(68, "reasonType");
            sKeys.put(69, "recAt");
            sKeys.put(70, "recScore");
            sKeys.put(71, "recharge");
            sKeys.put(72, "score");
            sKeys.put(73, "scored");
            sKeys.put(74, "size");
            sKeys.put(75, "sortNum");
            sKeys.put(76, "startTime");
            sKeys.put(77, "status");
            sKeys.put(78, "studioIds");
            sKeys.put(79, "svip");
            sKeys.put(80, Key.TITLE);
            sKeys.put(81, Key.TOKEN);
            sKeys.put(82, "ua");
            sKeys.put(83, "updatedAt");
            sKeys.put(84, Key.USER_ID);
            sKeys.put(85, "userType");
            sKeys.put(86, "vIP");
            sKeys.put(87, Key.VIDEO_ID);
            sKeys.put(88, "videoType");
            sKeys.put(89, "videoUrl");
            sKeys.put(90, "watched");
            sKeys.put(91, "wechat");
            sKeys.put(92, "welfareNum");
            sKeys.put(93, "width");
            sKeys.put(94, "worksNum");
        }
    }

    /* renamed from: com.androidx.lv.base.DataBinderMapperImpl$InnerLayoutIdLookup */
    private static class InnerLayoutIdLookup {
        static final HashMap<String, Integer> sKeys = new HashMap<>(0);

        private InnerLayoutIdLookup() {
        }
    }
}
